class InstallRoled < ActiveRecord::Migration
  def change
    create_table :acos do |t|
	  t.string :parent
	  t.string :action
    end
    create_table :aros do |t|
      t.integer :foreign_id
      t.string :model
    end
    create_table :acos_aros do |t|
      t.belongs_to :aro
      t.belongs_to :aco
      t.boolean :allowed
    end
  end
end
